home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlaset.z / dlaset
Encoding:
Text File  |  2002-10-03  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAASSSSEEEETTTT((((3333SSSS))))                                                          DDDDLLLLAAAASSSSEEEETTTT((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLASET - initialize an m-by-n matrix A to BETA on the diagonal and ALPHA
  10.      on the offdiagonals
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLASET( UPLO, M, N, ALPHA, BETA, A, LDA )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        LDA, M, N
  18.  
  19.          DOUBLE         PRECISION ALPHA, BETA
  20.  
  21.          DOUBLE         PRECISION A( LDA, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLASET initializes an m-by-n matrix A to BETA on the diagonal and ALPHA
  38.      on the offdiagonals.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      UPLO    (input) CHARACTER*1
  42.              Specifies the part of the matrix A to be set.  = 'U':      Upper
  43.              triangular part is set; the strictly lower triangular part of A
  44.              is not changed.  = 'L':      Lower triangular part is set; the
  45.              strictly upper triangular part of A is not changed.  Otherwise:
  46.              All of the matrix A is set.
  47.  
  48.      M       (input) INTEGER
  49.              The number of rows of the matrix A.  M >= 0.
  50.  
  51.      N       (input) INTEGER
  52.              The number of columns of the matrix A.  N >= 0.
  53.  
  54.      ALPHA   (input) DOUBLE PRECISION
  55.              The constant to which the offdiagonal elements are to be set.
  56.  
  57.      BETA    (input) DOUBLE PRECISION
  58.              The constant to which the diagonal elements are to be set.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAASSSSEEEETTTT((((3333SSSS))))                                                          DDDDLLLLAAAASSSSEEEETTTT((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  75.              On exit, the leading m-by-n submatrix of A is set as follows:
  76.  
  77.              if UPLO = 'U', A(i,j) = ALPHA, 1<=i<=j-1, 1<=j<=n, if UPLO = 'L',
  78.              A(i,j) = ALPHA, j+1<=i<=m, 1<=j<=n, otherwise,     A(i,j) =
  79.              ALPHA, 1<=i<=m, 1<=j<=n, i.ne.j,
  80.  
  81.              and, for all UPLO, A(i,i) = BETA, 1<=i<=min(m,n).
  82.  
  83.      LDA     (input) INTEGER
  84.              The leading dimension of the array A.  LDA >= max(1,M).
  85.  
  86. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  87.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  88.  
  89.      This man page is available only online.
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.